package com.red.star.macalline.es.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Data
@Document(indexName = "view",type = "LgView")
public class ViewLog {

	private Integer page;

	private String eventId;

	private String openId;

	private String optDate;

	private String optTime;

	private String ip;

	private String network;

	private String models;

	private String longitude;

	private String latitude;

	private Integer optType;

	private Integer dataType;

	private Integer dataId;

	private String opUnit;

	private String fromId;

	private String toId;

	private String attr;

	private Long optMillis;

	private String sDate;

	private String sTime;

	private Long stayTime;

	private Map<String,Object> attrMap = new HashMap<String,Object>();

}
